<template>
  <span :class="{error:!isCorrect,right:isCorrect,undo:isCorrect === null}"><slot>1.未完成</slot></span>
</template>

<script>
export default {
  props:['isCorrect']
};
</script>

<style scoped>
.right {
  color: green;
}
.error {
  color: red;
}
.undo {
  color: #ccc;
}
</style>